/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package FrameAdmin;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JOptionPane;
import javax.swing.JTextArea;

/**
 *
 * @author admin
 */
public class Frametentang extends JFrame{
    private JTextArea labelText;
    private JButton buttonOk;

    public Frametentang() {
        this.setTitle("Info Program");
        this.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
        this.setBounds(500, 260, 280, 310);
        this.setResizable(false);
        this.setLayout(null);
        
        labelText = new JTextArea();
        labelText.setBounds(20, 20, 230, 200);
        labelText.setBackground(null);
        labelText.setEditable(false);
        labelText.setText("             SOFTWARE SEKRETARIAT\n\nPembuat & Pengembang : \n1) Eudes Raymond Gene / 115314056"
                + "\n2) Matius Pranandito B.L / 115314039\n3) Benedictus Reynusa .P / 115314075\n4) Benedictus B Pandu / 115314062\n\n"
                + "                  TEKNIK INFORMATIKA\n      FAKULTAS SAINTS dan TEKNOLOGI\n       UNIVERSITAS SANATA DHARMA\n                          2011/2012");
        this.add(labelText);

        buttonOk = new JButton("OK");
        buttonOk.setBounds(95, 230, 80, 30);
        this.add(buttonOk);
        buttonOk.addActionListener(new ActionListener() {

            @Override
            public void actionPerformed(ActionEvent e) {
                setVisible(false);
            }
        });

    }
    
}
